@import "style.css";
@import "app.css";
@import "font-awesome.min.css";
@import "validation.css";
@import "ui.css";
@import "notice.css";
@import "dmn.css?v=1.2";

#loading {
    background-image: url(../images/l_bg.png);
    border-radius: 0 0 4px 4px;
    color: #fff;
    position: fixed;
    top: 0;
    left: 48%;
    z-index: 1000;
    padding: 6px;
}

#buy_windows,
#add_to_card_windows,
#select_server,
#auction_bet {
    width: 404px;
    padding-bottom: 2px;
    display: none;
    background: #FFF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.tabrow { height: auto !important; }

#buy_windows,
#add_to_card_windows,
#select_server,
#auction_bet {
    width: 404px;
    padding-bottom: 2px;
    display: none;
    background: #FFF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.bx-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    margin-top: -5px;
}

.bx-controls-direction a {
    opacity: 0;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.bx-wrapper:hover .bx-controls-direction a {
    opacity: 1;
}

.bx-wrapper img {
    min-width: 930px;
    max-width: 930px;
    max-height: 300px;
    min-height: 300px;
}

a.bx-pager-link.active {
    background: white !important;
}

.bx-viewport {
    max-height: 300px;
}

.offline {
    color: red
}

.online {
    color: green
}


/* CSS3 Encoded */

.rank-img {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.tabs__content {
    margin-bottom: 2.5rem;
}

.post-title h3 {
    padding-left: 1rem;
    font-weight: bold;
}

.mw-content.ajax-container li {
    display: block;
}

.content {
    padding-left: 5px;
    padding-top: 5px;
}

.pagination {
    padding: 0;
    margin: 0 0 20px;
    border-radius: 4px;
}

.breadcrumb>li,
.pagination {
    display: inline-block;
}

.pager li,
.pagination>li {
    display: inline;
}

.pagination li:first-child a,
.pagination li:first-child a:hover,
.pagination li:last-child a,
.pagination li:last-child a:hover {
    border-radius: 3px!important;
    -webkit-border-radius: 3px!important;
}

.pagination li a:focus,
.pagination li a:hover,
.pagination li.active a,
.pagination li.active a:focus,
.pagination li.active a:hover {
    border: 1px solid #e6e6e6;
    background-color: #f5f5f5;
    color: #696e72;
}

.pagination > li > a {
    padding: 5px;
}

.space {
    padding-top: 1.5rem;
}

.bordered {
    padding: 5px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #efefef;
    font-size: 12px;
}

#login-sumbit,
.buttoncms {
    text-transform: uppercase;
    color: #fff;
    background: #463257;
    min-width: 100px;
    min-height: 50px;
    border: none;
    border-radius: 5px;
    transition: skew(-2deg);
    transform: skew(-2deg);
    cursor: pointer;
}

.ranks {
    text-transform: uppercase;
    color: #fff !important;
    background: #463257;
    min-width: 100px;
    min-height: 50px;
    border: none;
    border-radius: 5px;
    padding: 5px;
}

.inline {
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.entry .table .table {
    background-color: transparent;
}

.col-md-6 {
    display: inline;
}

.ajax-container {
    margin: 0 auto;
    display: block;
    text-align: center;
}

.field-icon {
    left: 12px;
    font-size: 16px;
    top: 0;
    z-index: 4;
    width: 42px;
    height: 42px;
    color: inherit;
    line-height: 42px;
    position: absolute;
    text-align: center;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    pointer-events: none;
}

.register {
    position: relative;
    vertical-align: top;
    border: 1px solid #DDD;
    display: -moz-inline-stack;
    display: inline-block;
    padding-left: 30px;
    display: inline;
    color: #626262;
    outline: none;
    height: 42px;
    transition: 0.25s;
}

input,
select {
    background: #0f0c25;
    min-width: 430px;
    border: 1px solid rgba(255, 151, 246, 0.15);
    border-left: 2px solid rgba(255, 151, 246, 0.5);
    color: #be67b6;
    padding: 16px 20px;
    position: relative;
    text-align: center;
    font-size: 14px;
}

button,
input[type="sumbit"]:before,
.content .page-content .download-block ul li a:before {
    position: absolute;
    display: block;
    width: 193px;
    height: 44px;
    top: 0;
    left: 0;
    background: url(../images/form-btn-1.png) no-repeat;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.content .page-content .download-block ul li a span {
    position: relative;
    display: block;
    align-self: auto !important;
    justify-self: left !important;
    text-align: left !important;
}

.lk-form.block-l li,
.lk-title,
.lk-coins,
.lk-form.block-l li {
    margin: inherit;
}

.lk-title,
.lk-coins,
.lk-form.block-l li {
    position: relative;
    display: block;
    margin-bottom: 5px;
    background-color: rgba(0, 0, 0, 0.168);
    border: 1px solid rgba(0, 0, 0, .125);
    padding: 10px;
}

ul#paypal-options li h3,
#paypal-options li h4 {
    font-size: 17px;
    margin-top: 1rem;
    padding-right: 5rem;
}

#paypal-options li {
    border-bottom: 1px solid #efefef;
    padding-bottom: 1rem;
    display: inherit;
}

#paypal-options h3.left {
    min-width: 285px;
}

#paypal-options li h4 {
    min-width: 140px;
}

.modal-header .close {
    padding: initial;
    margin: 0rem 0rem -1rem auto;
}

ul#paypal-options {
    display: inline-block;
    margin-bottom: 1rem;
}

table.set-lk .flex-c {
    display: initial;
    float: left;
}

table.set-lk .flex-c img {
    position: relative;
    top: 5px;
    padding-right: 5px;
}

#character-info tbody tr td {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: -1px;
    background-color: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, .125);
    min-height: 110px;
    text-align: left;
}

table.set-lk tbody tr td span {
    position: relative;
    top: 5px;
}

.link {
    position: relative;
    display: table;
    margin: 25px auto 0;
    text-align: center;
    color: #a5c862;
    font-size: 14px;
    text-decoration: underline;
}

button,
input[type="sumbit"] {
    transition: all 0.3s ease;
    cursor: pointer;
    background: url(../images/button-bg.png) center bottom no-repeat;
    background-color: #20002e;
    border: 2px solid #c260ac;
    color: #e287ec;
    border-radius: 30px;
    position: relative;
    padding: 12px 32px;
    z-index: 1;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0px 8px 10px -3px rgba(0, 0, 0, 0.3);
}

.custom_button {
    transition: all 0.3s ease;
    cursor: pointer;
    background: url(../images/button-bg.png) center bottom no-repeat;
    background-color: #20002e;
    border: 2px solid #c260ac;
    color: #e287ec;
    border-radius: 30px;
    position: relative;
    padding: 10px 32px;
    z-index: 1;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0px 8px 10px -3px rgba(0, 0, 0, 0.3);
    padding-top: 0;
}

button, input[type="sumbit"] {
    display: block;
    float: inherit;
    margin: 0 auto;
}

input[type="checkbox"] {
    width: 50px !important;
    height: auto !important;
    float: left;
}

.post-header {
    margin-bottom: 1rem;
}

.post {
    margin-bottom: 5rem;
}

.bx-wrapper .bx-controls-direction a {
    top: 50% !important;
}

iframe {
    max-width: 100%;
}

.input-main {
    margin-bottom: 0px !important;
}

#main-content button {
    text-transform: uppercase;
    color: #fff;
    background: #463257;
    min-width: 100px;
    min-height: 50px;
    border: none;
    border-radius: 5px;
    transition: skew(-2deg);
    transform: skew(-2deg);
    cursor: pointer;
}

.pagination a:focus,
.pagination a:hover,
.pagination a.active a,
.pagination a.active a:focus,
.pagination a.active a:hover {
    border: 1px solid #e6e6e6;
    background-color: #f5f5f5;
    color: #696e72;
}

.pagination a.active {
    border: 1px solid #e6e6e6;
    background-color: #f5f5f5;
    color: #696e72;
    font-size: 15px;
}

.pagination a:first-child a,
.pagination a:first-child a:hover,
.pagination a:last-child a,
.pagination a:last-child a:hover {
    border-radius: 3px!important;
    -webkit-border-radius: 3px!important;
}

.pagination > a {
    padding: 5px;
    border: 1px solid #e6e6e6;
    background-color: #f5f5f5;
    color: #696e72;
    font-size: 12px;
}

.bordered {
    float: right;
}

.rank-table {
    text-align: center;
    border-bottom: 1px solid #efefef;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

table tr td {
    color: #495057;
    vertical-align: bottom;
    border-bottom: 1px solid #343433;
    padding: 10px;
}

.ranking-table .main-tr {
    position: relative;
    background: rgba(15, 15, 18, 1);
}

.ranking-table th,
.ranking-table td,
table th,
table td {
    padding: 10px;
}

.ranking-table tr:nth-child(even) {
    background: rgb(15, 15, 18);
}

.content .content-left {
    max-height: 1500px;
    overflow-x: hidden;
}

.block-content p.title {
    margin-bottom: 1rem;
}


/* width */

#eventsSidenav #events::-webkit-scrollbar,
#eventsSidenav #events::-webkit-scrollbar-track {
    left: auto;
    min-height: 24px;
    right: 0;
    width: 2.5px;
    height: 50px !important;
    background-color: #e53627;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

.block-content table.sidebar_rank th {
    border-radius: 0px;
}

.sidenav {
    font-family: 'Roboto', sans-serif;
    height: 460px;
    width: 0;
    position: fixed;
    z-index: 999;
    top: 10%;
    overflow-x: hidden;
    padding-top: 50px;
    transition: 0.5s;
    background: linear-gradient(180deg, rgba(26,5,8,.98), rgba(9,2,4,.98));
}

.eventsbtn {
    background: linear-gradient(180deg,#5f0c14,#2a060a);
    top: 25%;
    left: 3px;
    width: 62px;
    height: 58px;
    border: none;
    outline: none;
    opacity: 1;
    position: fixed;
    z-index: 1;
    float: right;
    cursor: pointer;
}

#events div {
    padding: 8px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    background: #ffffff08;
    border-radius: 5px;
    margin-top: 3px;
    color: #ccbea0;
    margin-left: 1rem;
}

#events div:hover {
    color: #dea427;
}

#events {
    overflow-x: auto;
    max-height: 400px;
    width: calc(100% - 10%);
}

.sidenav .closebtn {
    background: linear-gradient(180deg,#5f0c14,#2a060a);
    width: 67px;
    height: 30px;
    border: none;
    outline: none;
    position: absolute;
    bottom: 20px;
    left: 35%;
    opacity: 1;
}

.title1 {
    padding: 10px;
    background: rgba(15, 15, 18, 0.32);
    font-size: 10px;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.news li .badge {
    color: #fff;
    padding: 5px 10px;
    text-transform: uppercase;
    font-size: .6rem;
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    background: #ff361a !important;
}

.news li {
    border-bottom: 1px solid #d4d3d3;
    padding: 8px;
    font-size: .8rem;
}

.news {
    list-style: none;
    margin: 0;
    padding: 0;
}

.button-st3 {
    background: #ff361a !important;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#2e466e', endColorstr='#415989', GradientType=0);
    background-color: #2e466e;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 9px;
    font-weight: bold;
    padding: 6px 12px;
    text-decoration: none;
}

.select-main {
    position: relative;
    vertical-align: top;
    border: 1px solid #DDD;
    display: -moz-inline-stack;
    display: inline-block;
    padding-left: 30px;
    display: inline;
    color: #626262;
    outline: none;
    height: 42px;
    transition: 0.25s;
    max-width: 225px;
}

.input-main,
select {
    background: #0f0c25;
    min-width: 430px;
    border: 1px solid rgba(255, 151, 246, 0.15);
    border-left: 2px solid rgba(255, 151, 246, 0.5);
    color: #be67b6;
    padding: 16px 20px;
    position: relative;
    text-align: center;
    font-size: 14px;
}

.first {
    color: black !important;
}

a.without_img {
    display: inherit;
}

ul.style4 span {
    float: inherit !important;
}

.white-box.acc-menu {
    text-align: center;
    padding-bottom: 1rem;
}

.sidebar-title {
    border-top: 2px solid #dfdfdf;
}

table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    text-align: center;
}

.sy-caption-wrap {
    display: none
}

.timeleft-box {
    background: #2e466e;
    padding: 3px;
    color: #fff;
    font-size: 10px
}

.timeleft-box-day {
    background: #76270c;
    padding: 3px;
    color: #fff;
    font-size: 10px
}

.timeleft-box-mon {
    background: #474544;
    padding: 3px;
    color: #fff;
    font-size: 10px
}

ul .events a {
    float: left
}

ul .events a {
    float: right
}

.countdown-block {
    height: 100px !important;
    top: 5rem !important;
    right: 0 !important;
    position: absolute;
    width: 100%;
}

#timer_div_title {
    height: 16px;
    width: 10%;
    top: 450px;
    margin-bottom: 30px;
    left: 70px;
    font-size: 25px;
    text-align: center;
    text-transform: uppercase;
    color: #282828;
    text-shadow: #282828 0 0 3px;
}

#timer_div_time {
    margin-top: 30px;
    position: absolute;
    height: 400px;
    width: 120px;
    top: 350px;
    left: 260px
}

.timmer_inner_block {
    width: 93px;
    height: 88px;
    border: 1px solid #282828;
    background-color: #282828;
    -moz-border-radius: .5em;
    -webkit-border-radius: .5em;
    border-radius: .5em;
    padding: 3px;
    margin: 2px;
    max-width: 100%;
    -webkit-box-shadow: 0 8px 6px -6px rgba(255, 255, 255, .4);
    -moz-box-shadow: 0 8px 6px -6px rgba(255, 255, 255, .4);
    box-shadow: 0 8px 6px -6px rgba(255, 255, 255, .4);
    filter: alpha(opacity=20)
}

#timer_div_time .timmer_inner_block .title {
    text-align: center;
    font-size: 13px;
    color: white;
    text-shadow: #1a909b 0 0 3px;
    text-transform: uppercase
}

#timer_div_time .timmer_inner_block .count {
    text-align: center;
    font-weight: 700;
    font-size: 25px;
    padding-top: 7px;
    text-shadow: #1a909b 0 0 3px;
    color: #1a909b;
}

table tr td { color: #be67b6 !important; }
.topPanel__buttons a { white-space: nowrap; }
.topNews { min-height: 653px; height: initial !important; background-size: cover; background-attachment: scroll; }
.top-news { display: inline-block; }
select#switch_server {
	min-width: 350px !important;
	margin-top: 1rem;
}
.title1 {
	position: relative;
	width: max-content;
	margin: 0 auto;
	background: transparent;
}

.title1 h1 { 
	font-size: 24px; 
	text-transform: uppercase;
	background: linear-gradient(#fcfcfc 10%, #84707a, #9fb588);
	-webkit-background-clip: text;
	color: transparent;
}

.title1 h1:before {
	content: "";
	position: absolute;
	right: 100%;
	width: 120px;
	height: 1px;
	background: #5b3b76;
	margin-right: 15px;
	top: 50%;
}

.title1 h1:after {
	content: "";
	position: absolute;
	left: 100%;
	width: 120px;
	height: 1px;
	background: #5b3b76;
	margin-left: 15px;
	top: 50%;
}

.content-lk { margin: 0 auto; text-align: center; }
.flex.lkContent {
	display: block;
	text-align: center;
	margin: 0 auto;
}

#vote-options li { min-height: 75px; }
table tr td { white-space: nowrap; }


/* Responsive */

table .input-main,
select {
    min-width: 430px !important;
}

@media (max-width: 1200px) and (min-width: 992px) {
    .mw-header .banners {
        width: 100% !important;
    }
    .slider > div {
        width: 100%;
    }
}

@media (max-width: 1200px) and (min-width: 992px) {
    .mw-header {
        background: transparent;
    }
}

@media screen and (max-width: 768px) {
    .table td,
    .table th {
        padding: .25rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
        max-width: 65px;
    }
    .ranks {
        min-width: inherit;
        min-height: inherit;
        display: inline-block;
        margin-bottom: 5px;
    }
}


/* IBERIAMU THEME OVERRIDES - loaded last intentionally */
/* IBERIAMU — dark crimson / gold medieval Georgian theme */
:root{
  --im-red:#8f1018;
  --im-red-dark:#3a080c;
  --im-red-deep:#160305;
  --im-gold:#d6a23a;
  --im-gold-bright:#f0c968;
  --im-cream:#f2e5c6;
  --im-panel:rgba(12,5,7,.88);
  --im-border:rgba(214,162,58,.34);
}

html,body{background:#090203!important;color:#cbbda2!important;}
body{font-family:'Roboto',Arial,sans-serif;background-image:radial-gradient(circle at 50% 0%,rgba(143,16,24,.18),transparent 42%)!important;}

.container{width:min(1320px,calc(100% - 44px));}

a{color:#e3b85c;}
a:hover{color:#fff0b6;}

/* Fixed navigation */
.topPanel{
  background:linear-gradient(180deg,rgba(10,3,5,.98),rgba(25,5,8,.96))!important;
  border-bottom:1px solid rgba(214,162,58,.28);
  box-shadow:0 8px 30px rgba(0,0,0,.55);
}
.topPanel__container{height:82px;padding-right:0;}
.topPanel__container img{max-height:68px;max-width:230px;object-fit:contain;}
.topPanel__menu{margin-left:10px;}
.topPanel__menu a{height:82px;padding:0 16px;color:#d8c9ad;font-size:12px;letter-spacing:.7px;}
.topPanel__menu a:after{background:var(--im-gold)!important;box-shadow:0 0 10px rgba(214,162,58,.55)!important;}
.topPanel__menu a:hover,.topPanel__menu .active a{color:#f2c85f!important;}
.topPanel__buttons a{margin-left:10px!important;padding:9px 18px!important;border-radius:3px!important;font-size:11px;}

/* Header / hero */
.header{
  height:820px!important;
  position:relative;
  background-image:linear-gradient(180deg,rgba(8,2,3,.22) 0%,rgba(8,2,3,.15) 35%,rgba(8,2,3,.86) 100%),url(../images/iberia-hero.jpg)!important;
  background-position:center 82px!important;
  background-size:cover!important;
  overflow:hidden;
}
.header:after{
  content:'✠';
  position:absolute;right:34px;top:105px;
  color:rgba(214,162,58,.28);font-size:150px;line-height:1;
  pointer-events:none;
}
.header .container{height:738px;}
.header__logo{top:135px!important;padding:0!important;z-index:3;}
.header__logo img{width:min(620px,62vw)!important;height:auto!important;filter:drop-shadow(0 18px 30px rgba(0,0,0,.8));}
.header__buttons{position:relative;z-index:4;}
.header__buttons a{
  top:390px!important;width:245px!important;height:86px!important;padding:0 18px!important;
  border:1px solid rgba(214,162,58,.48);border-radius:5px;
  background:linear-gradient(135deg,rgba(38,7,10,.95),rgba(12,3,5,.92))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 15px 35px rgba(0,0,0,.45);
  color:#d8c9ad!important;text-align:center;justify-content:center;align-content:center;
}
.header__buttons a:before{content:'✠';display:block;width:100%;font-size:18px;color:var(--im-gold);margin-bottom:3px;}
.header__buttons a span{font-size:18px!important;color:#f0c968!important;margin:0 0 3px!important;letter-spacing:1px;}
.header__buttons-download{left:110px!important;}
.header__buttons-register{right:110px!important;}
.header__buttons a:hover{transform:translateY(-4px);border-color:rgba(240,201,104,.8);box-shadow:0 18px 42px rgba(0,0,0,.65),0 0 22px rgba(143,16,24,.3);}

.header__statusBlock{
  top:535px!important;z-index:4;gap:18px;
}
.radial-stat{width:170px;height:170px;margin:0!important;background:rgba(18,4,6,.72)!important;border:1px solid rgba(214,162,58,.28);box-shadow:0 12px 35px rgba(0,0,0,.55);}
.serverInfo__name{color:#f1dfbb!important;font-size:16px!important;}
.serverInfo__x{color:#c99735!important;}
.serverInfo__x:after{background:linear-gradient(90deg,transparent,#c99735,transparent)!important;}
.serverInfo__online{color:#e33a42!important;text-shadow:0 0 15px rgba(227,58,66,.35);}

/* General sections */
section{padding:58px 0!important;}
.container h2{font-size:24px!important;letter-spacing:1.5px;margin-bottom:42px!important;}
.container h2 span,.main h1 span,.top-stat_block h3 span{
  background:linear-gradient(#fff4cf,#d6a23a 55%,#8e5a13)!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  color:transparent!important;
}
.container h2 span:before,.container h2 span:after{background:linear-gradient(90deg,transparent,#a77925)!important;}

.topNews{
  height:auto!important;min-height:610px;
  background-image:linear-gradient(180deg,rgba(8,2,3,.78),rgba(18,3,5,.96)),url(../images/iberia-snow.jpg)!important;
  background-size:cover!important;background-position:center!important;
  border-top:1px solid rgba(214,162,58,.18);
  border-bottom:1px solid rgba(214,162,58,.18);
}
.topNews-block{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;}
.news-block{width:100%;}
.top-news{
  width:31.5%!important;height:390px!important;margin:0!important;
  background:linear-gradient(180deg,rgba(38,8,11,.82),rgba(9,2,4,.97))!important;
  border:1px solid rgba(214,162,58,.28)!important;border-bottom:2px solid #a97922!important;
  box-shadow:0 20px 40px rgba(0,0,0,.45)!important;border-radius:5px;
}
.top-news:hover{margin-top:-8px!important;box-shadow:0 22px 45px rgba(0,0,0,.65),0 0 25px rgba(143,16,24,.24)!important;}
.top-news:after{opacity:.22;filter:saturate(.7) sepia(.35);}
.top-news-block{padding:28px!important;}
.top-news-block h3{color:#f0d9a6!important;font-size:17px!important;}
.top-news-text{color:#b9a98d!important;height:78px!important;}
.top-news-date{color:#c99735!important;}
.top-news .button{border-color:#a77925!important;background:linear-gradient(180deg,#5e0d13,#260509)!important;color:#f0d49a!important;border-radius:4px!important;}
.top-news .button:hover{background:linear-gradient(180deg,#92151d,#43070b)!important;}

/* Last news */
.lastNews{height:auto!important;min-height:650px;background:linear-gradient(180deg,#100306,#050102)!important;position:relative;overflow:hidden;}
.lastNews .container:before{opacity:.16!important;filter:sepia(1) saturate(.7);left:-80px!important;}
.lastNewsBlock{position:relative!important;left:auto!important;top:auto!important;width:100%!important;padding:10px 0 0 43%;z-index:3;}
.lastNews-block{margin-bottom:28px!important;}
.lastNews-block:nth-child(2n){margin-left:0!important;}
.lastNews-block__img{border:1px solid rgba(214,162,58,.35);background:#160407;}
.lastNews-block__img:before,.lastNews-block__img:after{border-color:rgba(214,162,58,.22)!important;}
.lastNews-block__info h3{color:#f0d9a6!important;}
.lastNews-block__text{color:#a9987c!important;}
.lastNews-block__buttons .button{border-radius:4px!important;border-color:#9d7020!important;background:#3c070c!important;}

/* Rankings */
.topBlock{height:auto!important;min-height:620px;background:linear-gradient(180deg,#070102,#180406,#080203)!important;}
.topBlock .container{align-items:stretch;justify-content:center;}
.top-block{width:50%!important;height:560px!important;opacity:1!important;transform:none!important;}
.top-block.leftBlock:after,.top-block.rightBlock:after{opacity:.16;filter:sepia(1) saturate(.55);}
.top-stat_block{width:390px!important;background:rgba(13,3,5,.93)!important;border:1px solid rgba(214,162,58,.28);border-top:2px solid #9d7020;padding:30px!important;box-shadow:0 18px 45px rgba(0,0,0,.55);}
.top-stat_block table td{color:#cdbd9e!important;border-bottom:1px solid rgba(214,162,58,.1);}
.top-stat_block table tr:hover{background:rgba(143,16,24,.25)!important;}
.top-stat_block table td a{color:#e1b85e!important;}
.custom_button{border:1px solid rgba(214,162,58,.25);padding:7px 10px!important;color:#bca981!important;background:#1b0508;}
.custom_button:hover{color:#fff!important;background:#711018!important;}

/* About */
.aboutBlock{height:auto!important;min-height:650px;background:linear-gradient(180deg,#080203,#160406)!important;overflow:hidden;}
.aboutBlock .container:after{opacity:.12;filter:sepia(1) saturate(.6);}
.textBlock{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:48%!important;height:auto!important;padding:35px!important;background:linear-gradient(135deg,rgba(34,7,10,.88),rgba(10,2,4,.92))!important;border:1px solid rgba(214,162,58,.22);border-radius:5px;margin-bottom:20px;}
.textBlock.textBlock-right{margin-left:auto;}
.textBlock .text{width:100%!important;color:#b9aa90!important;}
.textBlock .text span{color:#e3b85c!important;border-color:#9d7020!important;}
.textBlock .hr{width:75%!important;border-color:rgba(214,162,58,.18)!important;}

/* Inner pages */
.main{background:linear-gradient(180deg,#120306,#050102)!important;min-height:700px;border-bottom:1px solid rgba(214,162,58,.2)!important;}
.main h1{background:linear-gradient(180deg,#160407,#0b0203)!important;border-bottom:1px solid rgba(214,162,58,.2)!important;color:#f0d9a6!important;}
.lk-page{background:rgba(12,3,5,.95)!important;border:1px solid rgba(214,162,58,.2);box-shadow:0 25px 60px rgba(0,0,0,.55)!important;border-radius:4px;}
.lk-page h3{background:#1b0508!important;color:#e4d2af!important;border-bottom:1px solid rgba(214,162,58,.15);}
table tr{border-bottom:1px dashed rgba(214,162,58,.18)!important;}
table tr:hover{background:rgba(143,16,24,.2)!important;border-bottom-color:rgba(214,162,58,.28)!important;}
table td,table th{color:#d8c9ad!important;}
input,textarea,select{background:#0e0305!important;border-color:rgba(214,162,58,.22)!important;color:#ead7b1!important;}
.button,button{background:linear-gradient(180deg,#6c1017,#30060a)!important;border:1px solid #b17c24!important;color:#f0d39a!important;border-radius:4px!important;box-shadow:0 8px 18px rgba(0,0,0,.35)!important;}
.button:hover,button:hover{background:linear-gradient(180deg,#a31b25,#4c070d)!important;color:#fff!important;}
.buttonGreen{background:linear-gradient(180deg,#7b151b,#33070b)!important;border-color:#b17c24!important;color:#f4d99d!important;}

/* Footer */
.footer{height:auto!important;min-height:300px;background:linear-gradient(180deg,#090203,#030101)!important;border-top:1px solid rgba(214,162,58,.2);}
.shop-button{position:relative!important;top:auto!important;left:50%!important;margin:0 0 15px -141px!important;opacity:.9;}
.buttonTop{top:145px!important;background-image:none!important;width:42px!important;height:42px!important;border:1px solid #9d7020;border-radius:50%;}
.buttonTop:after{content:'↑';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#e9c56d;font-size:18px;}
.footerBottom{position:relative!important;top:auto!important;height:auto!important;padding:35px 0!important;border-top:1px solid rgba(214,162,58,.12);}
.menu-bottom li a{color:#8f7550!important;}
.menu-bottom li a:hover,.menu-bottom .active a{color:#e3b85c!important;}

@media(max-width:1050px){
  .topPanel__menu{display:none;}
  .topPanel__container{justify-content:space-between;}
  .header{height:760px!important;}
  .header .container{height:678px;}
  .header__logo{top:125px!important;}
  .header__buttons-download{left:5%!important;}
  .header__buttons-register{right:5%!important;}
  .header__statusBlock{top:525px!important;}
  .top-news{width:47%!important;}
  .top-block{width:100%!important;}
  .lastNewsBlock{padding-left:35%;}
}
@media(max-width:700px){
  .container{width:calc(100% - 24px);}
  .topPanel__buttons .buttonGreen{display:none;}
  .topPanel__container img{max-width:165px;}
  .header{height:700px!important;background-position:center top!important;}
  .header .container{height:618px;}
  .header__logo{top:105px!important;}
  .header__logo img{width:88vw!important;}
  .header__buttons a{top:365px!important;width:44%!important;height:72px!important;padding:5px!important;}
  .header__buttons-download{left:2%!important;}
  .header__buttons-register{right:2%!important;}
  .header__statusBlock{top:485px!important;transform:scale(.72);}
  .top-news{width:100%!important;}
  .lastNewsBlock{padding-left:0;}
  .lastNews .container:before{display:none;}
  .textBlock{width:100%!important;}
  .top-stat_block{width:calc(100% - 20px)!important;}
}
.footer-mark{color:#c99735;font-size:22px;font-weight:700;letter-spacing:3px;text-shadow:0 2px 10px #000;}.footer-mark span{color:#8f1018;margin-left:8px;}


/* =========================================================
   IBERIA MU PERFORMANCE PATCH
   ========================================================= */

/* Avoid painting large off-screen blocks until needed. */
.iberiaEvents,
.iberiaServerInfo,
.iberiaCastleSiege,
.iberiaDiscord,
.topRankings,
.latestNews,
.topNews{
  content-visibility:auto;
  contain-intrinsic-size:1px 700px;
}

/* Isolate expensive sections from the rest of the page. */
.iberiaEvents,
.iberiaServerInfo,
.iberiaCastleSiege,
.iberiaDiscord,
.topRankings{
  contain:layout paint style;
}

/* Prevent full-page repaints from oversized fixed decorative backgrounds. */
.topNews,
.header,
body{
  background-attachment:scroll!important;
}

/* GPU only where actual animation is needed. */
.topPanel,
.iberia-event-card,
.iberiaCastleSiege .cs-card{
  transform:translateZ(0);
  backface-visibility:hidden;
}

/* Avoid costly transitions on everything. */
*{
  transition-property:color,background-color,border-color,opacity,transform;
}

/* Legacy event side panel: remove broken external image dependency. */
.sidenav{
  background:
    radial-gradient(circle at 50% 20%,rgba(143,16,24,.25),transparent 55%),
    linear-gradient(180deg,rgba(22,4,7,.98),rgba(8,2,4,.98))!important;
  border:1px solid rgba(214,162,58,.22);
  box-shadow:0 12px 35px rgba(0,0,0,.45);
}
.eventsbtn{
  background:linear-gradient(180deg,#7d111a,#33070c)!important;
  border:1px solid rgba(214,162,58,.35)!important;
  border-radius:8px;
}
.sidenav .closebtn{
  background:linear-gradient(180deg,#641018,#2d060a)!important;
  border:1px solid rgba(214,162,58,.28)!important;
  border-radius:6px;
}

/* Respect users who request less animation and reduce CPU/GPU load. */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}
